package com.ssy.lingxi.platform.manage.model.request.content;

import com.ssy.lingxi.common.model.vo.PageVO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 资讯 - 列表 - 请求实体类
 * @author fhj
 * @version 2.0.0
 * @date 2021/08/31
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class InformationListReq extends PageVO {
    private static final long serialVersionUID = -6904035713101548733L;

    @ApiModelProperty(value = "栏目Id")
    private Long columnId;

    @ApiModelProperty(value = "推荐标签 1-头条文章 2-轮播新闻 3-图片新闻 4-推荐阅读 5-行情推荐 6-本栏推荐")
    private List<Integer> recommendLabel;

    @NotNull(message = "排序类型不能为空")
    @ApiModelProperty(value = "排序类型：1.按发布时间倒序，2.按推荐排序升序，3.按最新发布排序，4.按最多阅读排序，5.按最多收藏排序")
    private Integer sortType;

    @ApiModelProperty(value = "三级分类ID")
    private Long thirdlyCategoryId;

    @ApiModelProperty(value = "搜索关键词")
    private String keyword;
}
